package CallbackVersion1;

/**
 * Created by ycq on 2018/10/18.
 */
public class Printer {
    public void print(Callback callback,String text){
        System.out.println("正在打印.....");
        try{
            Thread.currentThread();
            Thread.sleep(3000);
        }catch (Exception e){
            e.getMessage();
        }
        callback.printFinished("打印完成");


    }
}
